package com.stedu;

import com.stedu.service.DepartmentService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class test02 {
    @Autowired
    private DepartmentService departmentService;

    @Test
    public void test01() {
        departmentService.selectAll()
                .forEach(System.out::println);

    }
}
